Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#930 #1040

Merged
merged 9 commits into from
Apr 20, 2022
Merged

#930 #1040

merged 9 commits into from
Apr 20, 2022

Conversation

LeraKornienko
Copy link
Contributor

'Редагування закладу' page

Mandatory fields
'Редагування закладу' page
@LeraKornienko LeraKornienko requested a review from dmitryy90 April 6, 2022 10:07
<div class="step-label-combined">
<label class="step-label"> Опис <span class="step-required">*</span></label>
<label class="step-characters-count">
{{PhotoFormGroup.get('description').value.length}}/{{constants.MAX_DESCRIPTION_LENGTH}}</label>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please save description control into the variable and use instead to avoid calling .get() method every second:
eg. {{description.value.length}}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow up

<div class="step-label-combined">
<label class="step-label"> Опис <span class="step-required">*</span></label>
<label class="step-characters-count">
{{PhotoFormGroup.get('description').value.length}}/{{constants.MAX_DESCRIPTION_LENGTH}}</label>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

follow up

@LeraKornienko LeraKornienko merged commit 91b4854 into develop Apr 20, 2022
@LeraKornienko LeraKornienko deleted the #930 branch April 20, 2022 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants